home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cracking 2
/
Cracking II..iso
/
Kompresni & kodovaci programy
/
ucl-0.91
/
B
/
win32
/
mc120.bat
< prev
next >
Wrap
DOS Batch File
|
2000-02-24
|
749b
|
32 lines
rem /* Windows 32 bit (LIB) - Microsoft 32-bit C/C++ Compiler 12.00
rem * a very simple make driver
rem * Copyright (C) 1996-2000 Markus F.X.J. Oberhumer
rem */
@if "%UCL_ECHO%"=="n" echo off
set _CC=cl -nologo -MD
set CFLAGS=-Iinclude -O2 -Gs -GF -W3
set MYLIB=ucl.lib
echo Compiling, please be patient...
set CC=%_CC%
%CC% %CFLAGS% -c src\*.c
@if errorlevel 1 goto error
if exist %MYLIB% del %MYLIB%
lib -nologo -out:%MYLIB% @b\win32\mc120.rsp
@if errorlevel 1 goto error
set CC=%_CC%
%CC% %CFLAGS% examples\simple.c %MYLIB% setargv.obj
@if errorlevel 1 goto error
%CC% %CFLAGS% examples\uclpack.c %MYLIB% setargv.obj
@if errorlevel 1 goto error
echo Done.
goto end
:error
echo error!
:end
@call b\unset.bat